package com.sky.service;

import com.sky.entity.AddressBook;
import com.sky.result.Result;

import java.util.List;

public interface AddressService {
    Result<String> add(AddressBook addressBook);

    List<AddressBook> selectAll();

    AddressBook getDefault();

    AddressBook getById(Long id);

    void deleteById(Long id);

    void setDefault(AddressBook addressBook);
}
